fo=open("D:\\hellow.txt","w")
s=input("请输入一段文字：")
fo.write(s)